import request from '@/utils/request'

export default {
  userLogin(params) {
    return request({
      url: 'sys/login',
      method: 'POST',
      data: params
    })
  },
  // 获取用户菜单信息
  queryMenuInfo(params) {
    return request({
      url: '/sys/user/menuInfo',
      method: 'get',
      params: params
    })
  }
}
